package com.me.shardingdemo.web.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonValue;
import com.me.shardingdemo.web.model.enums.GenderEnum;
import lombok.*;

/**
 * 用户
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@TableName("position")
public class Position extends Model<Position> {
    @TableId
    private Long id;
    private String name;
    private String salary;
    private String city;
    private GenderEnum gender;
}
